package kr.hkit.androidcomplete00;

import AndroidComplete01_chapter09.Ch09Main;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;


public class MainActivity extends Activity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_activity);
	}

	public void mOnClick(View v) {
		Intent intent = null;
		switch(v.getId()){
			case R.id.main_btn01:
				intent = new Intent(this, Ch09Main.class);
				break;
		}
		startActivity(intent);
	}
}
